package com.wyclabs.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wyclabs.db.mysql.BaseMybatisEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 用户 - 实体类
 * @date 2019-10-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "user")
public class User extends BaseMybatisEntity {

    /**
     * user_name - 登录用户名
     */
    @TableField
    private String userName;

    /**
     * password - 密码
     */
    @TableField
    private String password;

    /**
     * nick_name - 昵称
     */
    @TableField
    private String nickName;

    /**
     * avatar - 头像
     */
    @TableField
    private String avatar;

    /**
     * email - 邮箱
     */
    @TableField
    private String email;

    /**
     * enable - 是否可用
     */
    @TableField
    private Boolean enable;


}
